//
// Created by ashCheng on 2022/8/31.
//
#include "iostream"

int main()
{
  int var = 0, sum = 0;
  while (var <= 10) {
    sum += var;
    ++var;
  }
  std::cout << "Sum of 0 to 10 inclusive is " << sum << std::endl;
  return 0;
}